package rekursion;

public class Taxi{
  public static void main(String[] args){
    int xe=Integer.parseInt(args[0]);
    int ye=Integer.parseInt(args[1]);
    taxi("", 0, 0, xe, ye);
  }

  public static void taxi(String bisher, int x, int y, int xe, int ye){
    if(x>=xe && y>=ye) System.out.println(bisher);
    else{
      if(x<xe) taxi(bisher+"o", x+1, y, xe, ye);
      if(y<ye) taxi(bisher+"n", x, y+1, xe, ye);
    }
  }
}